Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Create a new cluster for chatbot based on the GCP blueprint. #145

Merged
merged 1 commit into from
May 23, 2020

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented May 21, 2020

  • We want to create a webhook to respond to Dialogflow. To do
    that we need be able to modify the ISTIO ingress policy in order
    to apply different JWT validation for requests routed through IAP
    vs calls from DialogFlow.

  • I initially tried that using ISTIO 1.1 and ran into problems. On ISTIO 1.4
    it seemed to work.

  • So this PR defines a new cluster based on the Kubeflow GCP blueprint
    so using ASM which has ISTIO 1.4. It is also using ACM to manage
    the deployment.

  • Related to [chatbot] Start building a KF assistant - who owns this label? #142

* We want to create a webhook to respond to Dialogflow. To do
  that we need be able to modify the ISTIO ingress policy in order
  to apply different JWT validation for requests routed through IAP
  vs calls from DialogFlow.

* I initially tried that using ISTIO 1.1 and ran into problems. On ISTIO 1.4
  it seemed to work.

* So this PR defines a new cluster based on the Kubeflow GCP blueprint
  so using ASM which has ISTIO 1.4. It is also using ACM to manage
  the deployment.

* Related to kubeflow#142
@kubeflow-bot
Copy link

This change is Reviewable

@jlewi
Copy link
Contributor Author

jlewi commented May 21, 2020

@hamelsmu mind taking a quick look at this?

@k8s-ci-robot
Copy link

The following users are mentioned in OWNERS file(s) but are not members of the kubeflow org.

Once all users have been added as members of the org, you can trigger verification by writing /verify-owners in a comment.

  • lluunn
    • kubeflow_clusters/code-intelligence/upstream/manifests/OWNERS
    • kubeflow_clusters/code-intelligence/upstream/manifests/istio-1-3-1/OWNERS
    • kubeflow_clusters/code-intelligence/upstream/manifests/istio/OWNERS
    • kubeflow_clusters/code-intelligence/upstream/manifests/jupyter/OWNERS
    • kubeflow_clusters/code-intelligence/upstream/manifests/kfdef/OWNERS
  • mameshin
    • kubeflow_clusters/code-intelligence/upstream/manifests/aws/OWNERS

@k8s-ci-robot k8s-ci-robot requested review from hamelsmu and inc0 May 21, 2020 21:08
jlewi pushed a commit to jlewi/testing that referenced this pull request May 23, 2020
* For now, it looks like using multiple acm-repo (i.e. different
  repos for different clusters) will work better than trying
  to use a single acm-repo and cluster selectors.

  * I was hitting problems with the fact that Tekton can't be installed
    via ACM right now (it violates certain validation constraints).

  * I only wanted to install tekton on the auto-deploy cluster (kf-ci-v1)
    and not the kf-ci-management cluster but I was stil
    getting errors from ACM complaining the Tekton configs were invalid.

  * So as a work around I renamed acm-repo -> acm-repos with the intent
    we will have multiple subdirectories corresponding to different repos

  * A given cluster can then choose which cluster to enroll in

* Create a new cluster for the KF chatbot (see kubeflow/code-intelligence#142)

  * The cluster will be managed using CNRM and ACM on the kf-ci-management
    cluster. So we need to check in the configs.

  * The source (kustomize packages for the manifests) is in
    kubeflow/code-intelligence#145
@hamelsmu
Copy link
Member

/lgtm
/approve

This PR changes an epic number of files

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hamelsmu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hamelsmu hamelsmu merged commit ea8940d into kubeflow:master May 23, 2020
k8s-ci-robot pushed a commit to kubeflow/testing that referenced this pull request May 26, 2020
* For now, it looks like using multiple acm-repo (i.e. different
  repos for different clusters) will work better than trying
  to use a single acm-repo and cluster selectors.

  * I was hitting problems with the fact that Tekton can't be installed
    via ACM right now (it violates certain validation constraints).

  * I only wanted to install tekton on the auto-deploy cluster (kf-ci-v1)
    and not the kf-ci-management cluster but I was stil
    getting errors from ACM complaining the Tekton configs were invalid.

  * So as a work around I renamed acm-repo -> acm-repos with the intent
    we will have multiple subdirectories corresponding to different repos

  * A given cluster can then choose which cluster to enroll in

* Create a new cluster for the KF chatbot (see kubeflow/code-intelligence#142)

  * The cluster will be managed using CNRM and ACM on the kf-ci-management
    cluster. So we need to check in the configs.

  * The source (kustomize packages for the manifests) is in
    kubeflow/code-intelligence#145
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants